<!--Created by IntelliJ IDEA.-->
<!--User: 22051-->
<!--Date: 2022/11/8-->
<!--Time: 10:16-->
<!--To change this template use File | Settings | File Templates.-->
<!DOCTYPE html>
<html lang="en" xmlns:th="http://www.thymeleaf.org">
<head>
    <meta charset="UTF-8">
    <title>查阅订单</title>
</head>
<body>
<div th:include="html/common/IncludeTop :: IncludeTop"></div>
<div id="BackLink">
    <a th:href="@{main}">Return to Main Menu</a>
</div>
<div class="Order" align="center">
    <strong><h2 th:text="${session.message}"></h2></strong>
    <table>
        <tr>
<!--            <th align="center" colspan="2" th:text="'订单#'${session.order.orderId}${#dates.format(${session.order.orderDate},'yyyy/MM/dd hh:mm:ss')}">-->
<!--            </th>-->
            <th align="center" colspan="2">订单#<span th:text="${session.order.orderId}"></span><span th:text="${#dates.format(${session.order.orderDate},'yyyy/MM/dd hh:mm:ss')}"></span></th>
        </tr>
        <br>
        <tr>
            <th colspan="2">支付细节</th>
        </tr>
        <tr>
            <td>支付方式:</td>
            <td>支付宝支付</td>
        </tr>
        <br>
        <tr>
            <th colspan="2">账单细节</th>
        </tr>
        <tr>
            <td>姓:</td>
            <td th:text="${session.order.billToFirstName}"></td>
        </tr>
        <tr>
            <td>名:</td>
            <td th:text="${session.order.billToLastName}"></td>
        </tr>
        <tr>
            <td>地址1:</td>
            <td th:text="${session.order.billAddress1}"></td>
        </tr>
        <tr>
            <td>地址2:</td>
            <td th:text="${session.order.billAddress2}"></td>
        </tr>
        <tr>
            <td>城市:</td>
            <td th:text="${session.order.billCity}"></td>
        </tr>
        <tr>
            <td>省份:</td>
            <td th:text="${session.order.billState}"></td>
        </tr>
        <tr>
            <td>邮政编码:</td>
            <td th:text="${session.order.billZip}"></td>
        </tr>
        <tr>
            <td>国家:</td>
            <td th:text="${session.order.billCountry}"></td>
        </tr>
        <br>
        <tr>
            <th colspan="2">寄送地址</th>
        </tr>
        <tr>
            <td>姓:</td>
            <td th:text="${session.order.shipToFirstName}"></td>
        </tr>
        <tr>
            <td>名:</td>
            <td th:text="${session.order.shipToLastName}"></td>
        </tr>
        <tr>
            <td>地址1:</td>
            <td th:text="${session.order.shipAddress1}"></td>
        </tr>
        <tr>
            <td>地址2:</td>
            <td th:text="${session.order.shipAddress2}"></td>
        </tr>
        <tr>
            <td>城市:</td>
            <td th:text="${session.order.shipCity}"></td>
        </tr>
        <tr>
            <td>省份:</td>
            <td th:text="${session.order.shipState}"></td>
        </tr>
        <tr>
            <td>邮政编码:</td>
            <td th:text="${session.order.shipZip}"></td>
        </tr>
        <tr>
            <td>国家:</td>
            <td th:text="${session.order.shipCountry}"></td>
        </tr>
        <tr>
            <td>邮差:</td>
            <td th:text="${session.order.courier}"></td>
        </tr>
        <tr>
            <td colspan="2" th:text="'状态: '">状态:<span th:text="${session.order.status}"></span></td>
        </tr>
    </table>
</div>
</body>
</html>
